package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.NamedQuery;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the PS_C_MOD_WORK_HIS database table.
 * 
 */
@Entity
@Table(name="PS_C_MOD_WORK_HIS")
@NamedQuery(name="PsCModWorkHi.findAll", query="SELECT p FROM PsCModWorkHi p")
@IdClass(PsCModPerPrimary.class)
public class PsCModWorkHi extends BaseDomain implements Serializable {
	private static final long serialVersionUID = 1L;

	@Column(name="C_COMPANY")
	private String cCompany;

	@Column(name="C_DESCRLONG")
	private String cDescrlong;

	@Column(name="C_MOD_STATUS")
	private String cModStauts;

	@Column(name="C_PHONE")
	private String cPhone;

	@Column(name="C_POSITION")
	private String cPosition;

	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE,generator="PS_C_WORKHIS_SEQNO")
	@SequenceGenerator(name="PS_C_WORKHIS_SEQNO",sequenceName="PS_C_WORKHIS_SEQNO",allocationSize=1)
	@Column(name="C_SEQNO")
	private BigDecimal cSeqno;

	@Id
	@Column(name="C_TRANSACTION_NBR")
	private String cTransactionNbr;

	@Id
	private String emplid;

	@Temporal(TemporalType.DATE)
	@Column(name="END_DT")
	private Date endDt;

	@Temporal(TemporalType.DATE)
	@Column(name="START_DT")
	private Date startDt;

	public PsCModWorkHi() {
	}

	public String getcCompany() {
		return cCompany;
	}

	public void setcCompany(String cCompany) {
		this.cCompany = cCompany;
	}

	public String getcDescrlong() {
		return cDescrlong;
	}

	public void setcDescrlong(String cDescrlong) {
		this.cDescrlong = cDescrlong;
	}

	public String getcModStauts() {
		return cModStauts;
	}

	public void setcModStauts(String cModStauts) {
		this.cModStauts = cModStauts;
	}

	public String getcPhone() {
		return cPhone;
	}

	public void setcPhone(String cPhone) {
		this.cPhone = cPhone;
	}

	public String getcPosition() {
		return cPosition;
	}

	public void setcPosition(String cPosition) {
		this.cPosition = cPosition;
	}

	public BigDecimal getcSeqno() {
		return cSeqno;
	}

	public void setcSeqno(BigDecimal cSeqno) {
		this.cSeqno = cSeqno;
	}

	public String getcTransactionNbr() {
		return cTransactionNbr;
	}

	public void setcTransactionNbr(String cTransactionNbr) {
		this.cTransactionNbr = cTransactionNbr;
	}

	public String getEmplid() {
		return emplid;
	}

	public void setEmplid(String emplid) {
		this.emplid = emplid;
	}

	public Date getEndDt() {
		return endDt;
	}

	public void setEndDt(Date endDt) {
		this.endDt = endDt;
	}

	public Date getStartDt() {
		return startDt;
	}

	public void setStartDt(Date startDt) {
		this.startDt = startDt;
	}

	

}